/*
Theme Name: jquery-org
Template: jquery
*/

/*Custom Colors*/
a, #sidebar h3 {
	color: #0769AD;
}
/*
#content code a {
	background-color: rgba(6, 89, 150, 0.19);
}

#content h1 {
	color: white;
	font-weight: normal;
	font-style: normal;
}

#content h2 {
	color: white;
	font-weight: normal;
	font-style: normal;
	margin-bottom: 20px;
}*/

.page-slug-index #banner-secondary.large-banner {
	padding-top: 20px;
	padding-bottom: 20px;
}

#banner-large-image {
	margin-right: -25px;
	margin-left: -25px;
	margin-top: -20px;
	height: 360px;
	background: url(images/header-join-page.jpg) no-repeat center;
	background-size: cover;
	-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
	display: block;
	position: relative;
}

#content h2 {
	color: #0769AD;
	font-weight: normal;
	font-style: normal;
	margin-bottom: 20px;
}

#banner-large-image {
	margin-right: -25px;
	margin-left: -25px;
	margin-top: -25px;
	height: 360px;
	background: url(images/header-join-page.jpg) no-repeat center;
	background-size: cover;
	-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
	display: block;
	position: relative;
}

#banner-large-image h1 {
	font-size: 60px;
}

.jquery-foundation.home #banner-secondary.large-banner.entry-header {
	padding-bottom: 0px;
}

.jquery-foundation.page-slug-join #content #banner-large-image .vertically-centered-black-bg {
	margin-top: 14.5%;
}

/*Homepage*/

.large-banner img {
	margin-bottom: 20px;
}

.sub-banner {
	background-color: lightgray;
	text-align: center;
	margin: -25px -25px 0;
	color: rgb(102,102,102);
	font: bold 20px/40px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

#content > div.row {
	margin-top: 30px;
}

#content h2.slider-heading {
	width: 100%;
	text-align: center;
}

.slider {
	position: relative;
}

.flexslider {
	width: 100%;
	display: block;
	border: 1px solid #cbcbcb;
	margin-left: 0px;
	height:a;
	overflow: hidden;
	border-radius: 10px;
	list-style: none;
	padding-top: 10px;
}

#content .slides {
	margin-left: 0px;
}

.flexslider ol {
	display: none;
}

#content .flexslider li {
	padding-left: 0px;
	background: none;
	display: none;
}

ul.flex-direction-nav {
	display: none;
}

#content .flexslider li {
	text-align: center;
}

#content .flexslider li img {
	margin-top: 10px;
	display: inline-block;
}

#content .flexslider li img.last {
	margin-right: 0px;
}

.dark-callout-box {
	background-image: url(../jquery/images/dark-grey-tile.png);
	margin-bottom: 30px;
	border-bottom: 10px solid #c1c1c1;
	border-top: 10px solid #c1c1c1;
	text-align: center;
	padding-top: 35px;
	padding-bottom: 35px;
	margin-top: 25px;
}

	.jquery-foundation.page-slug-donate #content .dark-callout-box {
		padding-top: 0px;
		padding-bottom: 0px;
	}

.big-message {
	font: bold 50px/50px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	color: #ffffff !important;
	margin-top: 20px;
}

#content .dark-callout-box h3 {
	font: bold 30px/50px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	color: #fff;
}

#content .dark-callout-box p {
	font: bold 30px/50px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	color: #dddcdc;
}

#content .project h4 {
	font: bold 24px/50px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	margin-bottom: 0;
	color: #464646;
}

#content .project {
	margin-top: 35px;
}

	#content .twelve.columns .project {
		margin-top: 0px;
	}

.project img {
	float: left;
	display: inline;
	width: 10%;
}

.project-text {
	float: right;
	width: 85.5%;
}

.member-level {
	width: 48%;
	float: left;
	display: inline;
	margin-right: 2%;
	background: url(../jquery/images/dark-grey-tile.png);
	position: relative;
	overflow: hidden;
}

.member-level.last {
	margin-right: 0px;
}

.member-level-icon {
	display: block;
	position: absolute;
	top: 60px;
	right: -50px;
	width: 225px;
	height: 225px;
	opacity: 0.2;
	z-index: 1;
}

.member-level button.button.join {
	position: relative;
	top: 0px;
	left: 15px;
	margin-bottom: 15px;
}

.member-level-icon.fan {
	background: url(images/icn-fan.png) center top no-repeat;
}

.member-level-icon.friend {
	background: url(images/icn-friend.png) center top no-repeat;
}

.member-level-icon.hero {
	background: url(images/icn-hero.png) center top no-repeat;
}

#content .member-level h3 {
	background-color: rgba(0, 0, 0, 0.66);
	color: #ffffff;
	text-align: center;
	font-size: 30px;
	line-height: 48px;
	font-weight: bold;
}

.errors li {
	color: #a00;
}

a.icon-search {
	width: 100px;
	height: 100px;
	display: block;
	position: relative;
	text-decoration: none !important;
	float: left;
	display: inline;
	margin-left: 15px;
	margin-bottom: 10px;
	z-index: 2;
}

a.icon-search::before {
	position: absolute;
	right: 4px;
	color: #333333;
}

.member-level ul.gifts {
	float: left;
	list-style: none;
	position: relative;
	z-index: 2;
}

#content .member-level ul.gifts li,
#content .member-level ul.gifts li strong {
	padding-left: 0;
	padding-right: 15px;
	background: none;
	color: #f3f3f3;
	font: bold "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;;
}

.member-level p {
	color: #f3f3f3;
	font: bold "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	float: left;
	display: inline;
	padding-left: 15px;
	padding-right: 15px;
}

.member-level .choose-gifts button.button.pay {
	float: left;
	display: inline-block;
	position: relative;
	z-index: 2;
	margin: 0 5% 30px 0;
	width: 44%;
	max-width: 135px;
}

.member-level form .button {
	clear: none;
}

.choose-gifts {
	background-color: lightgray;
	clear: both;
	position: relative;
	z-index: 2;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 15px;
	padding-bottom: 45px;
}

.choose-gifts h4 {
	font: bold 18px/20px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	margin-bottom: 10px;
}

.choose-gifts label {
	color: #ffffff;
	margin-right: 20px;
}

.choose-gifts hr {
	height: 1px;
	margin-top: 15px;
	margin-bottom: 15px;
	background: #898989;
}

.choose-gifts select {
	display: block;
	width: 100%;
	margin-bottom: 15px;
}

#content .choose-gifts textarea {
	width: 100%;
	min-width: 200px;
	background: white;
	border: 1px solid rgba(192,192,192,1);
}

.choose-gifts input[type="name"] {
	margin-right: 3px;
}

.choose-gifts input[type="name"], .choose-gifts input[type="email"]{
	display: inline;
	width: 49%;
	padding: 8px 12px;
	border: 1px solid rgba(192,192,192,1);
	border-radius: 2px;
	-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.17);
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.17);
}

#content .choose-gifts input:focus, #content .choose-gifts input[type=text]:focus, #content .choose-gifts textarea:focus {
	border: 1px solid #78CFF5;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#content .choose-gifts input::-webkit-input-placeholder {
   color: rgba(51,51,51,0.75);
}
#content .choose-gifts input:-moz-placeholder {
   color: rgba(51,51,51,0.75);	
}
#content .choose-gifts input::-moz-placeholder {
   color: rgba(51,51,51,0.75);	
}
#content .choose-gifts input:-ms-input-placeholder {
   color: rgba(51,51,51,0.75);	
}

#content .choose-gifts textarea::-webkit-input-placeholder {
   color: rgba(51,51,51,0.75);
}
#content .choose-gifts textarea:-moz-placeholder {
   color: rgba(51,51,51,0.75);	
}
#content .choose-gifts textarea::-moz-placeholder {
   color: rgba(51,51,51,0.75);	
}
#content .choose-gifts textarea:-ms-input-placeholder {
   color: rgba(51,51,51,0.75);	
}

/*History Page*/

.page-slug-history #content h2 {
	color: #0769AD;
	font-size: 40px;
	line-height: 40px;
}


.page-slug-history #content h3 {
	color: #0769AD;
	font-weight: normal;
	font-style: normal;
	border-top: 1px solid #d7d7d7;
	padding-top: 20px;
	font-size: 24px;
	line-height: 24px;
}

.page-slug-team #content ul.block-grid li {
	text-align: center;
}

.page-slug-team #content ul.block-grid img {
	max-width: 100%;
	margin-bottom: 10px;
}

.page-slug-team #content ul.block-grid p {
	text-align: left;
}

.page-slug-team #content h2 {
	color: #333;
	font-size: 20px;
	line-height: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom:5px;
}

.page-slug-team #content h3 {
	color: #0769AD;
	font-style: italic;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	min-height: 45px;
	border-bottom: 1px solid #dbdbdb;
}

.page-slug-team #content ul.team-list h3 {
	border: none;
	min-height: 5px;
}

.page-slug-team #content ul.past-team-list h2,
.page-slug-team #content ul.past-team-list h3 {
	text-align: left;

}

.page-slug-team #content p.center-txt {
	padding-left: 10%;
	padding-right: 10%;
}

.page-slug-members #content h2.block {
	text-align: center;
}

.page-slug-members #content a {
	color: #d58349;
}

.page-slug-members #content ul.block-grid li {
	text-align: center;
}

.page-slug-members #content ul.block-grid h3 {
	color: #4d4d4d;
	font-weight: bold;
	font-size: 18px;
	line-height: 18px;
	margin-bottom: 0;
	padding-top: 10px;
	text-align: center;
}

.page-slug-members #content ul.block-grid p {
	margin-bottom: 0;
}

.page-slug-members #content ul.block-grid p a {
	text-decoration: none;
}

.page-slug-members .corporatemembers .row {
	margin-top: 2em;
	padding-bottom: 2em;
}

.page-slug-sponsors .sponsors img {
	margin: 0.3em 1em 2em;
}

.page-slug-sponsors .sponsors .row {
	margin: 1em 0 2em;
}

.page-slug-faq #content h2 {
	margin-top: 1em;
	margin-bottom: 0.3em;
}

.page-slug-donate h2 {
	text-align: center;
}

.page-slug-donate form {
	padding: 0 4em;
}

.page-slug-donate select {
	vertical-align: top;
	margin: 1em;
}

.page-slug-donate .envelope {
	border: 1px solid silver;
	border-radius: 3px;
	padding: 4em;
	margin-bottom: 0.8em;
}

.page-slug-donate .envelope .vcard {
	margin-top: 1em;
	margin-left: 30%;
}

.page-slug-donate #content .row .callout-block {
	padding-top: 20px;
	padding-bottom: 20px;
	margin-bottom: 40px;
}

/*a.button,
#content a.button, .button {
	background-color: #b71551;
}

a.button:hover,
#content a.button:hover {
	background-color: #7c0d36;
}*/


/*Adjust widths for longer navigation*/

nav#main .searchform {
	width: 20%;
}

nav#main ul {
	width: 80%;
}

.content-full.full-width #content {
	padding-bottom: 15px;
}

@media only screen and (max-width: 767px) {
	.sponsors-page ul.block-grid li img {
		float: none;
		width: 80%;
		max-width: 80%;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 20px;
		margin-top: 0;
	}

	.sponsors-page ul.block-grid li p {
		float: none;
		width: 100%;
		text-align: center;
	}
}


/*iPad Portrait*/

@media only screen and (max-width: 768px) {

	#banner-large-image {
		margin-right: -40px;
		margin-left: -40px;
		margin-top: -40px;
		height: 200px;
		background: url(images/header-join-page.jpg) no-repeat center;
		background-size: cover;
		-webkit-background-size: cover;
			-moz-background-size: cover;
			-o-background-size: cover;
		display: block;
		position: relative;
	}

	#banner-large-image .vertically-centered-black-bg{
		height: 70% !important;
		margin-top: 14%;
		padding-top: 6%;
	}

	#banner-large-image h2 {
		font-size: 40px;
		line-height: 30px;
		margin-bottom: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}

	#banner-large-image p {
		font-size: 1.3em;
		line-height: 1.4em;
		padding-bottom: 60px;
	}

	.member-level {
		width: 100%;
		margin-bottom: 30px;
	}

	.sub-banner {
		background-color: #d6eef1;
		text-align: center;
		height: auto;
		color: #007d88;
		font: 20px/26px "klavika-web";
		margin: -30px -40px 0;
		padding: 2% 10% 0.5%;
	}

	.flexslider {
		margin-bottom: 20px;
	}
}

/*iPhone Landscape*/

@media only screen and (max-width: 480px) {

	#banner-large-image {
		margin-right: -25px;
		margin-left: -25px;
		margin-top: -40px;
		height: 200px;
		background: url(images/header-join-page.jpg) no-repeat center;
		background-size: cover;
		-webkit-background-size: cover;
			-moz-background-size: cover;
			-o-background-size: cover;
		display: block;
		position: relative;
	}

	#banner-large-image .vertically-centered-black-bg{
		height: 70% !important;
		margin-top: 14%;
		padding-top: 7%;
	}

	#banner-large-image h2 {
		font-size: 30px;
		line-height: 30px;
		margin-bottom: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}

	#banner-large-image p {
		font-size: 1em;
		line-height: 1.1em;
		padding-bottom: 60px;
	}

	.member-level {
		width: 100%;
		margin-bottom: 30px;
	}

	.sub-banner {
		margin-left: -25px;
		margin-right: -25px;
		padding-top: 3.5%;
	}

	.dark-callout-box {
		background-image: url(images/dark-grey-tile.png);
		border-bottom: 10px solid #c1c1c1;
		border-top: 10px solid #c1c1c1;
		text-align: center;
		margin-bottom: 0;
		padding-right: 22px !important;
		padding-left: 22px !important;
	}

	#content .dark-callout-box h3 {
		font: bold 28px/32px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
		color: #fff;
	}

	#content .dark-callout-box p {
		color: #dddcdc;
		font-size: 14px;
		line-height: 18px;
	}

	.big-message {
		font: bold 30px/30px "klavika-web", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif !important;
		color: #ffffff !important;
		margin-top: 20px;
	}

	.callout-block {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}
}
